<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>BootStrap使用</title>
    <link rel="stylesheet" href="../BootStrap/css/bootstrap.css">
    <style>
        .box {
            margin: 0 auto;
            padding: 0;
        }

        .child {
            height: 200px;
            background-color: cornflowerblue;
            margin-bottom: 10px;
        }

        .box div {
            text-align: center;
            line-height: 200px;
            font-size: 60px;
            color: white;
        }

        body {
            text-align: center;
            color: white;
        }
    </style>
</head>

<body>
    <div class="container" style="background-color: coral;height: 50px;line-height: 50px;font-size: 20px;">header</div>
    <br><br>
    <div class="container box row">
        <div class="child col-lg-3 col-md-6 col-sm-12">1</div>
        <div class="child col-lg-3 col-md-6 col-sm-12">2</div>
        <div class="child col-lg-3 col-md-6 col-sm-12">3</div>
        <div class="child col-lg-3 col-md-6 col-sm-12">4</div>
    </div>
    <br><br>
    <div class="container" style="text-align: center;">
        <button class="btn btn-primary">按钮</button> <button class="btn btn-secondary">按钮</button>
        <button class="btn btn-success">按钮</button> <button class="btn btn-danger">按钮</button>
        <button class="btn btn-warning">按钮</button> <button class="btn btn-info">按钮</button>
        <button class="btn btn-light">按钮</button> <button class="btn btn-dark">按钮</button>
        <br><br>
        <button type="button" class="btn btn-outline-primary">Primary</button>
        <button type="button" class="btn btn-outline-secondary">Secondary</button>
        <button type="button" class="btn btn-outline-success">Success</button>
        <button type="button" class="btn btn-outline-danger">Danger</button>
        <button type="button" class="btn btn-outline-warning">Warning</button>
        <button type="button" class="btn btn-outline-info">Info</button>
        <button type="button" class="btn btn-outline-dark">Dark</button>
        <br><br>
        <table class="table table-striped table-hover">
            <thead>
                <tr>
                    <th scope="col">#</th>
                    <th scope="col">First</th>
                    <th scope="col">Last</th>
                    <th scope="col">Handle</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th scope="row">1</th>
                    <td>Mark</td>
                    <td>Otto</td>
                    <td>@mdo</td>
                </tr>
                <tr>
                    <th scope="row">2</th>
                    <td>Jacob</td>
                    <td>Thornton</td>
                    <td>@fat</td>
                </tr>
                <tr>
                    <th scope="row">3</th>
                    <td colspan="2">Larry the Bird</td>
                    <td>@twitter</td>
                </tr>
            </tbody>
        </table>
    </div>
</body>

</html>